/**
 * Copyright (c) 2024 watereyes
 * workflow is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.common.web.bean;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class DepartmentTreeBean extends DepartmentBean{
	/**
	 * 分级编码
	 */
	@JsonSerialize(using = ToStringSerializer.class)
	private Long seq;
	/**
	 * 父级掩位数
	 */
	private Integer parentmask;
	/**
	 * 父级ID
	 */
	private Integer parentId;
	public Integer getParentId() {
		return parentId;
	}
	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}
	/**|
	*设置分级编码
	*/
	public DepartmentTreeBean setSeq(Long seq){
		this.seq = seq;
	return this;
	}
	/**
	*获取分级编码
	*/
	public Long getSeq(){
		return seq;
	}
	/**
	*设置父级掩位数
	*/
	public DepartmentTreeBean setParentmask(Integer parentmask){
		this.parentmask = parentmask;
	return this;
	}
	/**
	*获取父级掩位数
	*/
	public Integer getParentmask(){
		return parentmask;
	}
}